import logging
from common.logging_use import init_log_config
from config import BASE_DIR

init_log_config(BASE_DIR + "/log/log_homework.log",when="midnight",interval=2,backup_count=3)
logging.info("这是晚自习作业题的日志信息")